package com.ysd.zytj.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import com.ysd.zytj.model.Member;

public interface IMemberDao extends JpaRepository<Member, Integer>,JpaSpecificationExecutor<Member>{

	@Query(value="select * from member where card_no =:cardNo",nativeQuery = true)
	Member findByCardNo(String cardNo);
}
